package org.xu.controller;

import com.core.base.Reply;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.multipart.MultipartFile;
import org.xu.logic.AdapterCarInfoLogic;
import org.xu.logic.SQLLogic;

/**
 * @author liuxiaoxu
 */
@Controller
@RequestMapping("/trans/")
public class TransactionController {

    @Autowired
    private AdapterCarInfoLogic carInfoLogic;

    @ResponseBody
    @PostMapping("/test")
    public Reply<String> upload(){
        carInfoLogic.update();
        return Reply.success("finish");
    }


}
